$(function(){

    if(currentUser.userName && currentUser.userName !=""){
        //console.log("has login");
        $("ul li:eq(1) a").attr("href","#").text("工作机会");
        $("ul li:eq(2) a").attr("href","mydevice.html").text("用户中心");
    }else{
        //console.log("not ...")
    }

});